package com.vlin.entity.app.result;

public class Result {

	private String msg;
	
	private int code;
	
	private long t;
	
	private boolean success;
	
	private Object result;
	
	public static Result instance() {
		return new Result();
	}

	public String getMsg() {
		return msg;
	}

	public Result setMsg(String msg) {
		this.msg = msg;
		return this;
	}

	public int getCode() {
		return code;
	}

	public Result setCode(int code) {
		this.code = code;
		return this;
	}

	public long getT() {
		return t;
	}

	public Result setT(long t) {
		this.t = t;
		return this;
	}

	public boolean isSuccess() {
		return success;
	}

	public Result setSuccess(boolean success) {
		this.success = success;
		return this;
	}

	public Object getResult() {
		return result;
	}

	public Result setResult(Object result) {
		this.result = result;
		return this;
	}
	
	
}
